#include "staticLinkedList.h"

int main(int argc, char const *argv[]) {
    StaticList staticList;
    initSList(&staticList);
    printf("Static linked list initialized!\n");

    printf("\nInserting 6 data...\n");
    for (int i = HEAD; i < 6; i++) {
        instertNodeAtBeginning(&staticList, 'A'+i);
    }
    printf("Successful inserted data.\n");

    printf("\nDisplaying list:\n");
    displaySList(&staticList);

    printf("\nDeleting first data...\n");
    deleteNodeAtBeginning(&staticList);
    printf("Successful deleted the first data.\n");

    printf("\nDisplaying list again:\n");
    displaySList(&staticList);

    return 0;
}